package com.teamall.web.fpxm.db.dao.mapper;

import com.teamall.web.fpxm.db.arg.CodeAidProject4listArg;
import com.teamall.web.fpxm.db.po.CodeAidProject4listPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ICodeAidProject4listMapper {
    
    List<Integer> countByArg(CodeAidProject4listArg arg);

    List<CodeAidProject4listPO> selectByArg(CodeAidProject4listArg arg);

    CodeAidProject4listPO selectByPrimaryKey(Integer id);

    List<CodeAidProject4listPO> selectByArgAndPage(CodeAidProject4listArg arg, RowBounds rowBound);

    int insert(CodeAidProject4listPO record);

    int insertSelective(CodeAidProject4listPO record);

    int insertBatch(@Param("list") List<CodeAidProject4listPO> records);

    int updateByArgSelective(@Param("record") CodeAidProject4listPO record,
            @Param("arg") CodeAidProject4listArg arg);

    int updateByArg(@Param("record") CodeAidProject4listPO record,
            @Param("arg") CodeAidProject4listArg arg);

    int updateByPrimaryKeySelective(CodeAidProject4listPO record);

    int updateByPrimaryKey(CodeAidProject4listPO record);
    
    int deleteByArg(CodeAidProject4listArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}